<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>WeMall安装向导</title>
    <link href="/Public/Install/css/base.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/Install/css/style.css" rel="stylesheet" type="text/css"/>
    <script src="/Public/Install/js/jquery-1.10.2.min.js"></script>
    <script src="/Public/Install/js/install.js"></script>
</head>
<body>
<div class="g-install">
    <div class="m-head">
        <h1>WeMall安装配置</h1>
    </div>
    <form action="<?php echo U('setup3');?>" method="post">
        <div class="m-body">
            <div class="tt"></div>
            <div class="m-form">

                <div class="formitm">
                    <label class="lab">数据库地址：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="DB_HOST" id="DB_HOST" value="127.0.0.1"/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">数据库端口：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="DB_PORT" id="DB_PORT" value="3306"/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">数据库名称：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="DB_NAME" id="DB_NAME" value="wemall"/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">数据库用户名：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="DB_USER" id="DB_USER" value="root"/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">数据库密码：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="DB_PWD" id="DB_PWD" value=""/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">数据表前缀：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="DB_PREFIX" value="wemall_"/>
                    </div>
                </div>
                <div style="color: #ffffff;width: 100px;height: 30px;background-color:#dd4b39;position: relative;left: -20px;text-align: center;margin-top: 16px; ">
                    超级管理员
                </div>
                <div class="formitm">
                    <label class="lab">用户名/邮箱：</label>

                    <div class="ipt">
                        <input type="text" class="u-element" name="USERNAME" value="" id="USERNAME"/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">密码：</label>

                    <div class="ipt">
                        <input type="password" class="u-element" name="PASSWORD" value="" id="PASSWORD"/>
                    </div>
                </div>
                <div class="formitm">
                    <label class="lab">重复密码：</label>

                    <div class="ipt">
                        <input type="password" class="u-element" name="PASSWORD2" value="" id="PASSWORD2"/>
                    </div>
                </div>

            </div>
        </div>
        <div class="m-foot">
            <a href="<?php echo U('setup1');?>">上一步</a>
            <button type="submit" class="submit">安装</button>
        </div>
    </form>
</div>
</body>
</html>